//
// Created by liushuai on 18-7-16.
//

#include "STONEWT.hpp"
#include <iostream>
using std::cout;

STONEWT::STONEWT(double lbs) {
    stone = int(lbs)/Lb2_per_stn;
    pds_left = int(lbs)%Lb2_per_stn+lbs-int(lbs);
    pounds = lbs;

}
STONEWT::STONEWT(int stn, double lbs) {
    stone = std;
    pds_left = lbs;
    pounds = std*Lb2_per_stn+lbs;
}
STONEWT::STONEWT() {
    stone = pounds = pds_left = 0;
}
STONEWT::~STONEWT() {

}
void STONEWT::show_stn() const {
    cout<<"stone"<<" stone, "<<pds_left<<" pounds\n";
}
void STONEWT::show_lbs() const {
    cout<<pounds<<"pounds\n";
}
